package com.heima.schedule.test;

import com.heima.common.constants.ScheduleConstants;
import org.junit.jupiter.api.Test;

public class testCut {

    @Test
    public void test() {
        String future = "future_1_50".substring("future_1_50".indexOf("future_") + 1);
        //String future = "future_1_50".split("future_")[1];
        String topicKey = ScheduleConstants.TOPIC + future;
        System.out.println(future);
        System.out.println(topicKey);
    }
}
